<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <%  
    Thread.sleep(1000);
    String site = new String("forwardto.jsp?userName=xxxxxdfaqgfadsgsdg");
    response.setStatus(response.SC_MOVED_TEMPORARILY);
    response.setHeader("Location", site);  
    //等效于 Redirect 注意地址栏发生了改变
   
    %>
